ROS_DIST=`ls /opt/ros` || echo "ros not installed in the default folder: /opt/ros, please make sure you have sourced it"
if [ -n $ROS_DIST ]
then
    source /opt/ros/$ROS_DIST/setup.sh || echo "soure error, do you use bash shell? or have your ros correctly installed?"
fi
